Sets the current value from a given array of bytes and size in bits.
Syntax
public void SetByteArrayValue(
byte[] ,
int
)
'Declaration
Public Overloads Sub SetByteArrayValue( _
ByVal () As Byte, _
ByVal As Integer _
)
'Usage
Dim instance As OpaqueData
Dim byteArray() As Byte
Dim sizeInBits As Integer
instance.SetByteArrayValue(byteArray, sizeInBits)
Parameters
- byteArray
- The value expressed as array of bytes.
The value of this parameter cannot be null
(Nothing
in Visual Basic).
- sizeInBits
- Size in bits of the resulting value.
Valid values of this parameter are in the range from 0
to 2147483647 (Int32.MaxValue)
.
Requirements
Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows
See Also